package com.yuexun.beilunpatient.ui.recipe;

import android.os.Bundle;

import com.yuexun.beilunpatient.R;
import com.yuexun.beilunpatient.base.BaseKJActivity;
import com.yuexun.beilunpatient.ui.docAdvice.adapter.DispensingListListAdapter;
import com.yuexun.beilunpatient.widget.FixedSwipeListView;

import java.util.ArrayList;
import java.util.List;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by chenss on 2018/5/8 0008.
 */

public class Act_Recipe_UseDrug extends BaseKJActivity {

    @Bind(R.id.recipe_list)
    FixedSwipeListView recipeList;

    DispensingListListAdapter adapter;

    @Override
    public void setRootView() {
        setContentView(R.layout.act_recipe_usedrug);
        ButterKnife.bind(this);
    }

    @Override
    public void initData() {
        List<String> strings = new ArrayList<>();
        strings.add("");
        strings.add("");
//        adapter = new DispensingListListAdapter(recipeList, strings, R.layout.item_dispensinglist_list);
//        recipeList.setAdapter(adapter);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick(R.id.title_back)
    public void onViewClicked() {
        finish();
    }
}
